package pers.ree.demo.designpattern.factory.abstractfactory;

/**
 * 具体工厂，生产一组具体的产品
 */
public class AmericaHouseFactory implements IHouseFactory {
    @Override
    public IRoof createRoof() {
        return new AmericaRoof();
    }

    @Override
    public IFrame createFrame() {
        return new AmericaFrame();
    }

    @Override
    public IWall createWall() {
        return new AmericaWall();
    }
}
